package com.yc.navy.springmvc.dao.impl;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;



import com.yc.navy.springmvc.bean.UserInfo;
import com.yc.navy.springmvc.core.annotation.Repository;
import com.yc.navy.springmvc.dao.IUserInfoDao;

@Repository
public class UserInfoDaoImpl implements IUserInfoDao{

	@Override
	public List<UserInfo> list() {
		List<UserInfo> list = new ArrayList<UserInfo>();
		Collections.addAll(list, new UserInfo(101, "张三", 17, "13973984170"),
				new UserInfo(102, "王五", 18, "13973984171"),
				new UserInfo(103, "李四", 19, "13973984172"));
		
		return list;
	}

}
